﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Senthil.Mobile.WhereAmI
{
    public interface IRouteTracker
    {
        event EventHandler<TimeChangedEventArgs> TimeChanged;
        event EventHandler<LocationChangedEventArgs> LocationChanged;

        bool CanCalculateTimeSpan();
        TimeSpan GetTimeSpanFor(LocationGroup locationGroup);
        LocationGroup DestinationLocationGroup { get; }
        void GetLastKnownInfo(out Location lastKnownLocation, out TimeSpan timeSpanToDestination);
    }
}
